//
//  SQLiteHelper.h
//  CC
//
//  Created by Calvin.wang on 3/24/15.
//  Copyright (c) 2015 Calvin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

@interface SQLiteHelper : NSObject

#pragma mark property
@property (nonatomic) sqlite3 *database;

#pragma mark methods
-(void) openDB:(NSString *) dbname;

-(void) executeNonQuery:(NSString *) sql;

-(NSArray *) executeQuery:(NSString *) sql;

@end
